package com.heima.bos.utils;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

public class PageBean<T> {
	private Integer page;//当前页
	private Integer pageSize;//每页显示记录数
	private Integer total;//总记录数	
	private	DetachedCriteria detachedCriteria;//离线查询条件
	private List<T> rows;//返回的对象集合
	public DetachedCriteria getDetachedCriteria() {
		return detachedCriteria;
	}
	public void setDetachedCriteria(DetachedCriteria detachedCriteria) {
		this.detachedCriteria = detachedCriteria;
	}
	public Integer getPage() {
		return page;
	}
	public void setPage(Integer page) {
		this.page = page;
	}
	public Integer getPageSize() {
		return pageSize;
	}
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	public Integer getTotal() {
		return total;
	}
	public void setTotal(Integer total) {
		this.total = total;
	}
	public List<T> getRows() {
		return rows;
	}
	public void setRows(List<T> rows) {
		this.rows = rows;
	}
	
	
}
